package com.kefu.admin.modules.tgqmdj.mapper;

import com.kefu.admin.modules.sys.model.AreaModel;
import com.kefu.admin.modules.sys.model.User;
import com.kefu.admin.modules.tgqmdj.model.Tgctms;
import com.kefu.admin.utils.MyMapper;
import org.springframework.stereotype.Controller;

import java.util.List;
import java.util.Map;

/**
 * Created by TWD on 2018/10/17.
 */
public interface TgdMapper extends MyMapper<AreaModel> {

    List<AreaModel> queryAreaList(Map<String, Object> params);

    List<Tgctms> queryCtMsg(Map<String, Object> params);
    
    List<Tgctms> queryCtMsg(Tgctms Tgctms);
    int saveCtMsg(Tgctms tgctms);

    List<Tgctms> queryMyCtMsg(Tgctms Tgctms);
    List<Tgctms> queryMyCtMsgImg(Tgctms Tgctms);
    int saveMyCtMsg(Tgctms tgctms);

    int updStatus(Tgctms tgctms);
    
    int updateStatusBatch(Map<String, Object> params);
}
